//
//  LoginViewModel.h
//  iOSBaseFramework
//
//  Created by user on 2020/6/28.
//  Copyright © 2020 com.taylor. All rights reserved.
//
//
//

#import <Foundation/Foundation.h>

#import "LoginModel.h"
NS_ASSUME_NONNULL_BEGIN

typedef void(^VerifyComplete)(BOOL result, NSString* verifyCode);

@interface LoginViewModel : NSObject

@property (nonatomic, strong) LoginModel *loginModel;

-(instancetype)init;

///请求验证码
-(void)requestSMSVerifyCodeWithPhoneNum:(NSString *)phoneNum AreaCode:(NSString*)areaCode Complete:(VerifyComplete)verifyComplete;

// 注册手机号
-(void)requestRegister:(NSString*)phoneNum AreaCode:(NSString *)areaCode SecureStr:(NSString *)secureStr;

// 请求忘记密码
-(void)requestForgotPassword:(NSString*)forgotPassword AreaCode:(NSString *)areaCode;

// 请求修改密码
-(void)requestRepairPassword:(NSString*)password;




@end

NS_ASSUME_NONNULL_END
